/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.Forum;
import com.ez2find.model.Topic;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author org.@le
 */
@Local
public interface TopicManagerLocal {

    public void create(com.ez2find.model.Topic topic) throws java.lang.Exception;

    public void update(com.ez2find.model.Topic topic) throws java.lang.Exception;

    public void delete(com.ez2find.model.Topic topic) throws java.lang.Exception;

    public com.ez2find.model.Topic find(long id);

    public java.util.List<com.ez2find.model.Topic> listAll();

    public java.util.List<com.ez2find.model.Topic> topicsForum(com.ez2find.model.Forum forum);

    List<Topic> invertedTopics(Forum forum);
    
}
